<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!-- For Mobile Devices -->
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
        <meta name="generator" content="Doxygen 1.8.17"/>
        <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
        <title>QuEST: test_calculations.cpp File Reference</title>
        <!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
        <script type="text/javascript" src="dynsections.js"></script>
        <link href="doxygen.css" rel="stylesheet" type="text/css" />
        <link href="style.css" rel="stylesheet" type="text/css"/>
        <link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
        <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
        <link href="jquery.smartmenus.bootstrap.css" rel="stylesheet">
        <script type="text/javascript" src="jquery.smartmenus.js"></script>
        <!-- SmartMenus jQuery Bootstrap Addon -->
        <script type="text/javascript" src="jquery.smartmenus.bootstrap.js"></script>
        <!-- SmartMenus jQuery plugin -->
    </head>
    <body>
        <nav class="navbar navbar-default" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand"><img alt="Logo" src="logo.png"/></a>
                    <a class="navbar-brand"><b>QuEST</b> v3.2.0<br>The Quantum Exact Simulation Toolkit</a>
                </div>
            </div>
        </nav>
        <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
            <div class="content" id="content">
                <div class="container">
                    <div class="row">
                        <div class="col-sm-12 panel " style="padding-bottom: 15px;">
                            <div style="margin-bottom: 15px;">
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d522931ffa1371640980b621734a4381.html">Users</a></li><li class="navelem"><a class="el" href="dir_70834f0dcd10de01d2e35ab402a2238e.html">tysonjones</a></li><li class="navelem"><a class="el" href="dir_1957401ef452be7528010ba0f4832a45.html">Desktop</a></li><li class="navelem"><a class="el" href="dir_dee4414d5d72b49a9429e079789ffd08.html">GithubRepos</a></li><li class="navelem"><a class="el" href="dir_a89b43d59316bb5045aa22bb53a67d29.html">QuEST</a></li><li class="navelem"><a class="el" href="dir_e791dcdec8c5d319683d04485e4067ac.html">tests</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">test_calculations.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;catch.hpp&quot;</code><br />
<code>#include &quot;<a class="el" href="QuEST_8h_source.html">QuEST.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="utilities_8hpp_source.html">utilities.hpp</a>&quot;</code><br />
</div>
<p><a href="test__calculations_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga4f3c9ca42b9b7cd322f1b89ba2350a81"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#ga4f3c9ca42b9b7cd322f1b89ba2350a81">TEST_CASE</a> (&quot;calcDensityInnerProduct&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:ga4f3c9ca42b9b7cd322f1b89ba2350a81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73a058eb67be1476ac4e37be653d64c3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#ga73a058eb67be1476ac4e37be653d64c3">TEST_CASE</a> (&quot;calcExpecDiagonalOp&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:ga73a058eb67be1476ac4e37be653d64c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3eb91320e5854d964b125bb659b83d41"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#ga3eb91320e5854d964b125bb659b83d41">TEST_CASE</a> (&quot;calcExpecPauliHamil&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:ga3eb91320e5854d964b125bb659b83d41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8825124816954c15598897e157f6e048"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#ga8825124816954c15598897e157f6e048">TEST_CASE</a> (&quot;calcExpecPauliProd&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:ga8825124816954c15598897e157f6e048"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga919ee8725c30d7378532714b70cfb389"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#ga919ee8725c30d7378532714b70cfb389">TEST_CASE</a> (&quot;calcExpecPauliSum&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:ga919ee8725c30d7378532714b70cfb389"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaceb52fe2677e119547d5b5e0f2f202fb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#gaceb52fe2677e119547d5b5e0f2f202fb">TEST_CASE</a> (&quot;calcFidelity&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:gaceb52fe2677e119547d5b5e0f2f202fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga769a51547f263527bf27bbbcb51014a8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#ga769a51547f263527bf27bbbcb51014a8">TEST_CASE</a> (&quot;calcHilbertSchmidtDistance&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:ga769a51547f263527bf27bbbcb51014a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf08d29f7b27caf904b748c68ff3e3372"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#gaf08d29f7b27caf904b748c68ff3e3372">TEST_CASE</a> (&quot;calcInnerProduct&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:gaf08d29f7b27caf904b748c68ff3e3372"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9360d80704ffa985e33a131fc3821d9c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#ga9360d80704ffa985e33a131fc3821d9c">TEST_CASE</a> (&quot;calcProbOfOutcome&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:ga9360d80704ffa985e33a131fc3821d9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8e08b58f3e0d94166b600513224de63"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#gaf8e08b58f3e0d94166b600513224de63">TEST_CASE</a> (&quot;calcPurity&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:gaf8e08b58f3e0d94166b600513224de63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga841339ebf8e009dca360aeb0fcc51acc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#ga841339ebf8e009dca360aeb0fcc51acc">TEST_CASE</a> (&quot;calcTotalProb&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:ga841339ebf8e009dca360aeb0fcc51acc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf530a2a0e2809ded8812a4967d291c3e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#gaf530a2a0e2809ded8812a4967d291c3e">TEST_CASE</a> (&quot;getAmp&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:gaf530a2a0e2809ded8812a4967d291c3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga91c97193b23d8dcba69ad8af5ff31b85"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#ga91c97193b23d8dcba69ad8af5ff31b85">TEST_CASE</a> (&quot;getDensityAmp&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:ga91c97193b23d8dcba69ad8af5ff31b85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae43391f4fc72b35c87ea4d76576463be"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#gae43391f4fc72b35c87ea4d76576463be">TEST_CASE</a> (&quot;getImagAmp&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:gae43391f4fc72b35c87ea4d76576463be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga77058278e43deef9a7daac38746acdcd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#ga77058278e43deef9a7daac38746acdcd">TEST_CASE</a> (&quot;getNumAmps&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:ga77058278e43deef9a7daac38746acdcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6161165d2a2ba0a72691e040964f86f4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#ga6161165d2a2ba0a72691e040964f86f4">TEST_CASE</a> (&quot;getNumQubits&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:ga6161165d2a2ba0a72691e040964f86f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad7d8932b28815ad719e3ff6cc29f5656"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#gad7d8932b28815ad719e3ff6cc29f5656">TEST_CASE</a> (&quot;getProbAmp&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:gad7d8932b28815ad719e3ff6cc29f5656"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gadf3a64a1dff4833aa96ecb3c98656398"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__unittest.html#gadf3a64a1dff4833aa96ecb3c98656398">TEST_CASE</a> (&quot;getRealAmp&quot;, &quot;[calculations]&quot;)</td></tr>
<tr class="separator:gadf3a64a1dff4833aa96ecb3c98656398"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
</body>
        <script type="text/javascript" src="boot.js"></script>
</html>
